package cn.wangxl.group.rpc.protocol;

import cn.wangxl.group.rpc.rpcEntity.RpcRequest;
import cn.wangxl.group.rpc.rpcEntity.RpcResponse;

/**
 * @Deacription HttpMessageProtocol
 * @Author 20112128
 * @Date 2020/9/18 10:16
 **/
public class HttpMessageProtocol implements MessageProtocol{
    @Override
    public byte[] marshallingRequest(RpcRequest rpcRequest) {
        return new byte[0];
    }
    @Override
    public RpcRequest unmarshallingRequest(byte[] data) {
        return null;
    }
    @Override
    public byte[] marshallingResponse(RpcResponse rpcResponse) {
        return new byte[0];
    }
    @Override
    public RpcResponse unmarshallingResponse(byte[] data) {
        return null;
    }
}
